package com.athuahua.spzx;

import com.athuahua.spzx.anno.EnableUserTokenFeignInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: huahua
 * @Date: 2024/8/9 0009
 * @Time: 15:14
 * @Description:
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching//开启注解驱动的缓存管理
@MapperScan("com.athuahua.spzx.mapper")
@EnableFeignClients(basePackages = {"com.athuahua.spzx"})
@EnableUserTokenFeignInterceptor
public class ServiceOrderMain8514 {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOrderMain8514.class, args);
    }
}